package com.slz3.business.module.orderManagement.ordOrder.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import java.util.UUID;

@Data
public class OrdOrderCondition extends OrdOrder {

    public static final String CREATE_TIME_OF_PATTERN = "yyyy-MM-dd HH:mm";

    private List<UUID> uuidList;

    private List<Integer> orderStatusList;

    private List<String> serOrderTypeList;

    @JsonFormat(timezone = "GMT+8", pattern = CREATE_TIME_OF_PATTERN)
    private LocalDateTime createTimeOUTSET;

    @JsonFormat(timezone = "GMT+8", pattern = CREATE_TIME_OF_PATTERN)
    private LocalDateTime createTimeFINISH;

    @JsonFormat(timezone = "GMT+8", pattern = CREATE_TIME_OF_PATTERN)
    private LocalDateTime lastModifyTimeOUTSET;

    @JsonFormat(timezone = "GMT+8", pattern = CREATE_TIME_OF_PATTERN)
    private LocalDateTime lastModifyTimeFINISH;

    private BigDecimal serTotalFeeLeft;

    private BigDecimal serTotalFeeRight;

}
